package com.jianguo.companion.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jianguo.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@Data
public class CompanionInfo {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;
    /**
     * 余额
     */
    @Excel(name = "余额")
    private Long balance;
    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String username;
    @Excel(name = "收入")
    private Long money;
    /**
     * 账号
     */
//    @Excel(name = "账号")
//    private String account;
//    @Excel(name = "积分")
//    private Integer fen;
//    @Excel(name = "优惠卷")
//    private Integer juan;
//    /**
//     * 密码
//     */
//    @Excel(name = "密码")
//    private String password;
    /**
     * 头像
     */
//    @Excel(name = "头像")
//    private String pic;
//    /**
//     * $column.columnComment
//     */
//    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
//    private Long status;

//
//    @Override
//    public String toString() {
//        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
//                .append("id", getId())
//                .append("mobile", getMobile())
////                .append("nickname", getNickname())
////                .append("account", getAccount())
////                .append("password", getPassword())
////                .append("pic", getPic())
////                .append("status", getStatus())
//                .toString();
//    }

}
